<template>
    <div>
        <Tree :datas = 'datas'></Tree>
    </div>
</template>
<script>
import Tree from './Tree'
export default {
    components:{Tree},
    //递归数据吧
    data(){               
        return{
            datas:[
        {
            label:"北京",
            children:[
                { label:"海淀",children:[
                    { label:"中关村" }
                ] }
            ]    
        }
    ] 
        }
    }
   
}
</script>